package two_class_design.two_work;

/**
 * @author 北巷_东坡
 * @date 2022/9/30 9:19
 * @computer 10741
 */
public class Client {
    private XMLToChart xmlToChart;
    public void depend1(XMLToChart xmlToChart){
        xmlToChart.readData();
    }
    public void depend2(XMLToChart xmlToChart){
        xmlToChart.createChart();
    }
    public void depend3(XMLToChart xmlToChart){
        xmlToChart.displayChart();
    }
}
